package org.zfm.user.mapper;

import org.zfm.user.domain.User;
import org.zfm.base.mapper.BaseMapper;

/**
 * <p>
 *  mapper 接口
 * </p>
 *
 * @author zara
 * @since 2022-11-14
 */
public interface UserMapper extends BaseMapper<User> {

    User getByPhone(String phone);

    User getByName(String username);

    void updatePassword(User user);
}
